cd ..
srcdir=`pwd`
mkdir -p build/debug
cd build/debug
cmake -DCMAKE_BUILD_TYPE=Debug "$srcdir" -DCMAKE_INSTALL_PREFIX=output
make

